package lovoStudy_9_8.Game;

/**
 * Created with Intellij IDEA
 * Description:
 *
 * @ return:
 * @ author:zxl
 */

/**
 * 医生类
 * */
public class Doctor extends Role implements Treat {
    public Doctor() {
    }

    public Doctor(String name, int level) {
        super(name, level);
    }
    @Override
    public void selfIntroduce() {
        System.out.println("我名字叫: " + this.name + ", 等级为" + this.level + ", 职业一名医生");
    }

    @Override
    public void treat() {
        System.out.println(this.name + "使用了治疗");
    }
}
